package com.itheima.edu.info.manager.homeworkday03.homework01;
/*
* 属性：姓名、性别、年龄(全部私有)
*
*
* */
public abstract class Staff {
    private String name;//姓名
    private String sex;//性别
    private String age;//年龄

    public abstract void work();

    public Staff() {
    }

    public Staff(String name, String sex, String age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
